import json
# 项目配置文件加入BASE_DIR的其当前文件路径
from config import BASE_DIR


def read():
    with open(BASE_DIR+'/data/test.json', encoding='utf-8') as f:
        data = json.load(f)
        new_list = []
        for d in data:
            d.pop('desc')
            t = tuple(d.values())
            new_list.append(t)
    return new_list
# if __name__ == '__main__':
#     print(read())